package com.wish.service.impl;

import com.wish.dto.CheckBatchDto;
import com.wish.entity.TCwCheckBatch;
import com.wish.mapper.TCwCheckBatchMapper;
import com.wish.service.ITCwCheckBatchService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 对账批次表 服务实现类
 * </p>
 *
 * @author 五组
 * @since 2021-04-08
 */
@Service
public class TCwCheckBatchServiceImpl extends ServiceImpl<TCwCheckBatchMapper, TCwCheckBatch> implements ITCwCheckBatchService {
    @Resource
    private TCwCheckBatchMapper checkBatchMapper;

    @Override
    public List<TCwCheckBatch> selects(CheckBatchDto checkBatchDto) {
        return checkBatchMapper.selects(checkBatchDto);
    }

    @Override
    public TCwCheckBatch getOne(String batchNo) {
        return checkBatchMapper.getOne(batchNo);
    }
}
